/*
package com.ruoyi.web.controller.system;

import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.TGoodsUser;
import com.ruoyi.system.service.ITGoodsUserService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;

*/
/**
 * t_goods_user 商品创作者关系Controller
 * 
 * @author ruoyi
 * @date 2022-04-09
 *//*

@RestController
@RequestMapping("/system/user")
public class TGoodsUserController extends BaseController
{
    @Autowired
    private ITGoodsUserService tGoodsUserService;

    */
/**
     * 查询t_goods_user 商品创作者关系列表
     *//*

    @PreAuthorize("@ss.hasPermi('system:user:list')")
    @GetMapping("/list")
    public TableDataInfo list(TGoodsUser tGoodsUser)
    {
        startPage();
        List<TGoodsUser> list = tGoodsUserService.selectTGoodsUserList(tGoodsUser);
        return getDataTable(list);
    }

    */
/**
     * 导出t_goods_user 商品创作者关系列表
     *//*

    @PreAuthorize("@ss.hasPermi('system:user:export')")
    @Log(title = "t_goods_user 商品创作者关系", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, TGoodsUser tGoodsUser)
    {
        List<TGoodsUser> list = tGoodsUserService.selectTGoodsUserList(tGoodsUser);
        ExcelUtil<TGoodsUser> util = new ExcelUtil<TGoodsUser>(TGoodsUser.class);
        util.exportExcel(response, list, "t_goods_user 商品创作者关系数据");
    }

    */
/**
     * 获取t_goods_user 商品创作者关系详细信息
     *//*

    @PreAuthorize("@ss.hasPermi('system:user:query')")
    @GetMapping(value = "/{pkId}")
    public AjaxResult getInfo(@PathVariable("pkId") Long pkId)
    {
        return AjaxResult.success(tGoodsUserService.selectTGoodsUserByPkId(pkId));
    }

    */
/**
     * 新增t_goods_user 商品创作者关系
     *//*

    @PreAuthorize("@ss.hasPermi('system:user:add')")
    @Log(title = "t_goods_user 商品创作者关系", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody TGoodsUser tGoodsUser)
    {
        return toAjax(tGoodsUserService.insertTGoodsUser(tGoodsUser));
    }

    */
/**
     * 修改t_goods_user 商品创作者关系
     *//*

    @PreAuthorize("@ss.hasPermi('system:user:edit')")
    @Log(title = "t_goods_user 商品创作者关系", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody TGoodsUser tGoodsUser)
    {
        return toAjax(tGoodsUserService.updateTGoodsUser(tGoodsUser));
    }

    */
/**
     * 删除t_goods_user 商品创作者关系
     *//*

    @PreAuthorize("@ss.hasPermi('system:user:remove')")
    @Log(title = "t_goods_user 商品创作者关系", businessType = BusinessType.DELETE)
	@DeleteMapping("/{pkIds}")
    public AjaxResult remove(@PathVariable Long[] pkIds)
    {
        return toAjax(tGoodsUserService.deleteTGoodsUserByPkIds(pkIds));
    }
}
*/
